package com.ssy.wireless.mapper;

import com.ssy.wireless.entity.ApDeviceTraffic;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ApDeviceTrafficMapper {

    int insert(ApDeviceTraffic record);

    List<ApDeviceTraffic> selectApDeviceTrafficStatForHour(@Param("beginTime") Date beginTime, @Param("endTime") Date endTime);

    List<ApDeviceTraffic> selectHostpotTrafficStatForHour(@Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
}